package org.yray.sip.config.sip;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/***
 * icsp.forecast.sip.runPort = 14450
 * icsp.forecast.sip.recordPath = /data/share/forecast/pcm
 * icsp.forecast.sip.externalSipIp = 172.168.200.78
 * icsp.forecast.sip.externalSipPort = 5060
 * icsp.forecast.sip.internalSipIp = 172.168.200.78
 * icsp.forecast.sip.internalSipPort = 5060
 */
@ConfigurationProperties(prefix = "icsp.forecast.sip")
@Data
public class SipProperties {

    private String runIp;

    //internal使用本端口，external端口加1
    private int runPort=14450;

    //录音存放主目录，
    private String recordPath="/data/share/forecast/pcm";

    private String externalSipIp="172.168.200.78";

    private int externalSipPort=5060;

    private String internalSipIp="172.168.200.78";

    private int internalSipPort=5060;
}
